package cn.edu.zpark.security.springmvc.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * @PackageName: cn.edu.zpark.security.springmvc.model
 * @ClassName: UserDto
 * @Description:
 * @author: RZS
 * @date: 2021/7/20  15:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDto {
    public static final String SESSION_USER_KEY = "_user";
    private String id;
    private String username;
    private String password;
    private String fullname;
    private String mobile;

    /**
     * 用户权限
     */
    private Set<String> authorities;
}
